package org.jeecg.modules.dock.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 仓库按灯配置信息
 * @Author: jeecg-boot
 * @Date:   2023-10-06
 * @Version: V1.0
 */
@Data
@TableName("wms_light_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wms_light_config对象", description="仓库按灯配置信息")
public class WmsLightConfig implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**灯地址（IP）*/
	@Excel(name = "灯地址（IP）", width = 15)
    @ApiModelProperty(value = "灯地址（IP）")
    private java.lang.String locationId;
	/**灯状态（0:灭 1:亮）*/
	@Excel(name = "灯状态（0:灭 1:亮）", width = 15)
    @ApiModelProperty(value = "灯状态（0:灭 1:亮）")
    @Dict(dicCode = "light_state")
    private java.lang.Integer state;
	/**灯颜色及状态（1:蜂鸣 32:红色 64:绿色 128:黄色）*/
	@Excel(name = "灯颜色及状态（1:蜂鸣 32:红色 64:绿色 128:黄色）", width = 15)
    @ApiModelProperty(value = "灯颜色及状态（1:蜂鸣 32:红色 64:绿色 128:黄色）")
    @Dict(dicCode = "light_color")
    private java.lang.Integer lightColor;
	/**按灯对应的库位id*/
	@Excel(name = "按灯对应的库位id", width = 15)
    @ApiModelProperty(value = "按灯对应的库位id")
    @Dict(dictTable = "wms_basic_warehouse_area_location", dicText = "name", dicCode = "id")
    private java.lang.String wmsBasicWarehouseAreaLocationId;
    /**按灯对应的库位id*/
    @Excel(name = "按灯对应的库区id", width = 15)
    @ApiModelProperty(value = "按灯对应的库区id")
    @Dict(dictTable = "wms_basic_warehouse_area", dicText = "name", dicCode = "id")
    private java.lang.String wmsBasicWarehouseAreaId;
    /**按灯对应的库位id*/
    @Excel(name = "按灯对应的仓库id", width = 15)
    @ApiModelProperty(value = "按灯对应的仓库id")
    @Dict(dictTable = "wms_basic_warehouse", dicText = "name", dicCode = "id")
    private java.lang.String wmsBasicWarehouseId;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;

    //站号
    private Integer siteCode;
}
